<?php
//------------------------
// 前台用户地址验证器
//-------------------------

namespace app\common\validate;

use think\Validate;


class UserAddress extends Validate
{
    protected $rule = [
		'consignee|收货人' => 'require|max:56',
		'province|省'      => 'max:42',
		'city|收货人'      => 'max:42',
		'area|收货人'      => 'max:42',
		'addr|详细地址'    => 'require|max:150',
		'zipcode|邮政编码' => 'require|max:54|number',
		'mobile|电话号码'  => 'require|max:54|number',

    ];


}